package main

import "fmt"

// Sprintf
func Proj_2() {
	//使用 Sprintf来拼接字符串
	var (
		name   string
		age    int
		gender string
	)
	name = "myc"
	age = 18
	gender = "male"
	result := fmt.Sprintf("%s is %d years old , is %s ", name, age, gender)
	fmt.Println(result)
}
